package com.jzy.bxb.model.mongo.entity;

import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/**
 * 服务器信息
 *
 * @author JiangZhiYong
 * @date 2017-06-22
 * QQ:359135103
 */
@Entity(value="server_info",noClassnameStored=true)
public class ServerInfo {
	
	@Id
	private int id=1;	//自由一条数据
	
	/**用户数*/
	private long userNum;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getUserNum() {
		return userNum;
	}

	public void setUserNum(long userNum) {
		this.userNum = userNum;
	}
	
	

}
